package org.example.springboot.jpa.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_user")
@Data
public class User {

    @Id
    private String id;

    @Column(length = 30)
    private String loginName;

    @Column(length = 20)
    private String password;
}
